package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(150)"`
}

type Role struct {
	gorm.Model
	Uid  string `gorm:"type:int"`
	Name string `gorm:"type:varchar(50)"`
}

type Op struct {
	gorm.Model
	Rid    string `gorm:"type:int"`
	OpName string `gorm:"type:varchar(50)"`
}
